package com.wpre.vampiremq.mqserver.core;



/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2025-01-11
 * Time: 15:50
 */
public enum ExchangeType {

    DIRECT(0),//直接交换机
    FANOUT(1),//扇出交换机
    TOPIC(2);//主题交换机

    private final int type;

    private ExchangeType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

}
